package com.example.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 1. @ClassDescription:
 * 2. @author: Z
 * 3. @date: 2024年03月20日 15:34
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "用户登录返回的数据格式")
public class UserLoginVO implements Serializable {

    @ApiModelProperty("主键值")
    private Long id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("身份")
    private Integer roleId;

    @ApiModelProperty("jwt令牌")
    private String token;

    @ApiModelProperty("商店id")
    private Long storeId;

    @ApiModelProperty("头像")
    private String avatar;
}
